/*
 * FuncionesAritmeticas.h
 *
 *  Created on: 06/04/2012
 *      Author: lucas
 */

#ifndef FUNCIONESARITMETICAS_H_
#define FUNCIONESARITMETICAS_H_

class FuncionesAritmeticas {
public:
	static void sacarPrimerBit(unsigned int& n, unsigned int precision,
			int esTecho);
	static void sacarPrimerosBits(unsigned int& n, unsigned int precision,
				int esTecho, int cantidad);
	static unsigned int actualizarUnderflow(unsigned int& piso,
			unsigned int& techo, unsigned int& precision);
	static unsigned int emitirBits(unsigned int& piso, unsigned int& techo,
			unsigned int precision, unsigned int& underflow,
			unsigned int& emision);
	FuncionesAritmeticas();
	virtual ~FuncionesAritmeticas();
};

#endif /* FUNCIONESARITMETICAS_H_ */
